<div style="height:{{div_height}}px;">
    <ul id="album">
        {% for album in albums %}
        <li albumid="{{ album.shareid }}">
            <div class="blur">
            <div class="shadow">
            <div class="content">

            <div class="albumid">{{ album.shareid }}</div>
            <a class="albumurl" albumid="{{ album.shareid }}" href="/preview/?url={{ album.xml_url }}" target="_blank">
                <div class="cover_img_div">
                <img class="cover_img" src="{{ album.cover }}"/>
                </div>
            </a>
            <a class="albumurl" albumid="{{ album.shareid }}" href="/preview/?url={{ album.xml_url }}" target="_blank"><div class="albumtitle">{{ album.title|wordwrap:5}}<span class="albumpiccount">({{ album.picture_count }})</span></div></a>
            <!--<div class="albumdesc">{{ album.desc }}</div>-->
            {% ifequal user_type "user" %}
            <div style="margin-top:2px;">
                <span class="thumbup" albumid="{{ album.shareid }}" style="vertical-align:bottom;"><img src="/media/img/thumbup.gif" style="width:16px;height:16px;"/></span>
                <span class="albumscore" albumid="{{ album.shareid }}" id="album_score_{{ album.shareid }}" style="vertical-align:top;">{{ album.support_score }}</span>
                <span class="thumbdown" albumid="{{ album.shareid }}" style="vertical-align:bottom;"><img src="/media/img/thumbdown.gif" style="width:16px;height:16px;"/></span>
            </div>
            {% endifequal %}

            {% ifequal user_type "admin" %}
            <div style="margin-top:2px;">
                <span class="hide" albumid="{{ album.shareid }}" hide="{{ album.hide }}" style="vertical-align:bottom;"><img src="/media/img/hide.png" style="width:16px;height:16px;"/></span>
                <span class="thumbup" albumid="{{ album.shareid }}" style="vertical-align:bottom;"><img src="/media/img/thumbup.gif" style="width:16px;height:16px;"/></span>
                <span class="albumscore" albumid="{{ album.shareid }}" id="album_score_{{ album.shareid }}" style="vertical-align:top;">{{ album.editor_score }}</span>
                <span class="thumbdown" albumid="{{ album.shareid }}" style="vertical-align:bottom;"><img src="/media/img/thumbdown.gif" style="width:16px;height:16px;"/></span>
                <span class="delete" albumid="{{ album.shareid }}" style="vertical-align:bottom;"><img src="/media/img/delete.png" style="width:16px;height:16px;"/></span>
            </div>
            {% endifequal %}
            </div>
            </div>
            </div>
        </li>
        {% endfor %}
    </ul>
</div>